package com.lk.pet.customers.exception;

public class CustomerBaseException extends RuntimeException{
    private int id;

    public CustomerBaseException(int id) {
        super("CustomerBaseException");
        this.id = id;
    }
    public CustomerBaseException(int id,String msg) {
        super(msg);
        this.id = id;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = CustomerExceptionState.SERVER_ERROR;
    }
}
